package com.shiguiwu.springmybatis.designpattern.abstractfactory;

/**
 * @description: java课程工厂
 * @author: stone
 * @date: Created by 2021/2/20 10:53
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.abstractfactory
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video video() {
        return new JavaVideo();
    }

    @Override
    public NoteBook noteBook() {
        return new JavaNoteBook();
    }

}
